ccR.Add_Rotation(
	1, 
	"Ankhy_BASIC_BM_Hunter",
	"BASIC Rotation.\n\n Made by Ankhy."
)
function Ankhy_BASIC_BM_Hunter()
	if (ccR.Player.IsInCombat() or (ccR.Player.IsInGroup() and ccR.Target.IsInCombat())) and ccR.Target.Is.Attackable() then
		if ccR.Target.Count(8) > 2 and not ccR.Unit.Has.Buff("pet", "Beast Cleave") and ccR.Spell.IsReady("Multi-Shot") then ccR.Cast.Attack("Multi-Shot") end
		if ccR.Spell.IsReady("Kill Command") and ccR.Pet.Exists() then ccR.Cast.Attack("Kill Command") end
		if ccR.Spell.IsReady("Kill Shot") and ccR.Spell.CanAttack("Kill Shot") then ccR.Cast.Attack("Kill Shot") end
		if ccR.Spell.IsReady("Barrage") and ccR.Spell.CanAttack("Barrage") then ccR.Cast.Attack("Barrage") end
		if ccR.Spell.IsReady("Arcane Shot") and ccR.Spell.CDDuration("Kill Command") > 2 and ccR.Spell.CDDuration("Barrage") > 2 and ccR.Spell.CDDuration("Barrage") > 2 and ccR.Spell.CanAttack("Arcane Shot") then ccR.Cast.Attack("Arcane Shot") end
		if ccR.Spell.IsReady("Cobra Shot") and ccR.Spell.CanAttack("Cobra Shot") then ccR.Cast.Attack("Cobra Shot") end
	end	
end
